package com.icee.myth.common.message.serverMessage;

/**
 *
 * @author liuxianke
 */
public interface Message {
    /**
     * 消息类型                         -- 消息说明
     * MAPSCENE_XXX                    -- XXX
     *
     */
    public enum MessageType {
        // 公用
        ALL_SHUTDOWN, ALL_HEARTBEAT, ALL_MANAGERHEARTBEAT,
        ALL_CLIENTCONNECT, ALL_MANAGERCONNECT,
        ALL_CLIENTCLOSE, ALL_MANAGERCLOSE,
        ALL_MANAGERDOWN,
        ALL_GM,
        ALL_CALCULATE_WIN_RATE_RESULT, ALL_CALCULATE_CARD_DRAW_RATE_RESULT,
        ALL_UNINIT_OCCUPY_INFO_MESSAGE, ALL_FIGHTING_OCCUPY_INFO_MESSAGE,

        //region Manager服务器用到
        MANAGER_DEAMON_HEARTBEAT,
        MANAGER_DEAMON_CONNECT,
        MANAGER_DEAMON_CLOSE,
        MANAGER_DEAMON_DOWN,
        MANAGER_CONSOLE_CONNECT,
        MANAGER_CONSOLE_CLOSE,
        MANAGER_CLUSTER_HEARTBEAT,
        MANAGER_CLUSTER_CONNECT,
        MANAGER_CLUSTER_CLOSE,
        MANAGER_CLUSTER_DOWN,
        MANAGER_RUN_SERVER,
        MANAGER_SHUTDOWN_SERVER,
        MANAGER_SYNCCONFIG,
        MANAGER_GET_SERVER_STATUS,
        MANAGER_GM,
        MANAGER_CLEAR_TEST_FLAG,
        MANAGER_SET_TEST_FLAG,
        MANAGER_BILL_NOTIFY,
        MANAGER_FORCE_SET_SERVER_SHUTDOWN_STATUS,
        MANAGER_LOAD_SERVER_CONFIG,
        MANAGER_BATTLE_WIN_RATE_RESULT,
        MANAGER_CARD_DRAW_RATE_RESULT,
        MANAGER_UNINIT_OCCUPY_INFO,
        MANAGER_FIGHTING_OCCUPY_INFO,
        MANAGER_SET_DATE,
        MANAGER_SET_TIME,
        MANAGER_GET_DATE_TIME,
        //endregion Manager服务器用到

        //region ManagerDEAMON服务器用到
        DEAMON_MANAGERHEARTBEAT,
        DEAMON_MANAGERCONNECT,
        DEAMON_MANAGERCLOSE,
        DEAMON_MANAGERDOWN,
        DEAMON_STARTSERVER,
        DEAMON_SERVERCONFIGDATA,
        //endregion ManagerDEAMON服务器用到

        //region CONSOLE服务器用到
        CONSOLE_MANAGER_CONNECT,
        CONSOLE_MANAGER_CLOSE,
        CONSOLE_COMMAND,
        CONSOLE_SERVER_START_OK,
        CONSOLE_SERVER_SHUTDOWN_OK,
        CONSOLE_SYNCCONFIG_RETURN,
        CONSOLE_GET_SERVER_STATUS_RETURN,
        CONSOLE_FORCE_SET_SERVER_SHUTDOWN_STATUS_OK,
        CONSOLE_FORCE_SET_SERVER_SHUTDOWN_STATUS_ERROR,
        CONSOLE_LOAD_SERVER_CONFIG_OK,
        CONSOLE_LOAD_SERVER_CONFIG_ERROR,
        CONSOLE_BATTLE_WIN_RATE_RESULT,
        CONSOLE_CARD_DRAW_RATE_RESULT,
        CONSOLE_UNINIT_OCCUPY_INFO,
        CONSOLE_FIGHTING_OCCUPY_INFO,
        CONSOLE_DATE_TIME,
        //endregion CONSOLE服务器用到

        //region GAME服务器用到
        MAP_LOGIN, MAP_CHAR_NUM, MAP_CREATE_CHAR, MAP_CREATE_CHAR_RET, MAP_GET_CHAR_DETAIL_INFO_RET, MAP_GET_CHAR_OCCUPY_INFO_RET,
        MAP_GUIDE_NEXT,
        MAP_PVE_BATTLE_RESULT,
        MAP_START_PVE_BATTLE, MAP_STAGE_CONTINUE, MAP_LEAVEPVEBATTLE, MAP_STAGE_LEAVE, MAP_STAGE_ENTER, MAP_STAGE_REVIVE,
        MAP_BIGSTAGE_REFRESH,
        MAP_TALK,
        MAP_BAG_BUYSLOT,
        MAP_QUEST_SUBMIT,
        MAP_CONTSIGN_RECEIVE_CUMULATIVE_SIGN_REWARD, MAP_CONTSIGN_RECEIVE_CONSECUTIVE_SIGN_REWARD, MAP_CONTSIGN_RECEIVE_LIVENESS_REWARD,
        MAP_VIPGIFT_RECEIVE,
        MAP_SANDBOX_DEPLOY,
        MAP_GET_RELATION_RET, MAP_GET_BRIEF_PLAYER_INFOS_RET,
        MAP_SOCIAL_OTHERPLAYERINFO, MAP_SOCIAL_ADD_CONCERN, MAP_SOCIAL_REMOVE_CONCERN, MAP_SOCIAL_CONCERN_NOTE,
        MAP_CARD_STRENGTHEN, MAP_CARD_TRANSFORM, MAP_CARD_SOLD, MAP_CARD_DRAW,
        MAP_BUY_ENERGY, MAP_BUY_TOKEN,
        MAP_ITEM_COMBINE,
        MAP_GM,
        MAP_BILL_RESULT,
        MAP_GET_BILL, MAP_GET_BILLREWARD,
        MAP_GET_COUPON,
        MAP_COUPON_RESULT,
        MAP_BILLNOTIFY,
        MAP_GET_NEW_MAIL_RET, MAP_MAIL_GET_LIST, MAP_MAIL_GET_INFO, MAP_MAIL_GET_REWARD, MAP_MAIL_REMOVE,
        MAP_NORMAL_ACTIVITY_GET_LIST, MAP_NORMAL_ACTIVITY_GET_ITEM_LIST, MAP_NORMAL_ACTIVITY_ENTER_STAGE, MAP_GET_NORMAL_ACTIVITY_REWARD,
        MAP_CARD_DRAW_ACTIVITY_GET_LIST, MAP_STAGE_ACTIVITY_GET_LIST,
        MAP_HEGEMONY_ONE_TOKEN_FIGHT, MAP_HEGEMONY_THREE_TOKEN_FIGHT, MAP_HEGEMONY_BATTLERESULT, MAP_HEGEMONY_REFRESH, MAP_HEGEMONY_GET_PAY,
        MAP_BASE_BARRACK_DEPLOY, MAP_BASE_ORDNANCE_DEPLOY, MAP_BASE_COUNCIL_DEPLOY, MAP_BASE_TRAINING_DEPLOY, MAP_BASE_MINE_DEPLOY, MAP_BASE_GET_MINE_INCOME_INFO, MAP_BASE_HARVEST_SELF_MINE, MAP_BASE_HARVEST_CAPE_MINE,
        MAP_BASE_GET_OCCUPY_INFO, MAP_BASE_GET_TARGETS, MAP_BASE_ATTACK, MAP_BASE_ATTACK_BATTLERESULT, MAP_BASE_RESISTANCE, MAP_BASE_RESISTANCE_BATTLERESULT,
        MAP_BASE_MINE_PRODUCTION_CHANGE,
        MAP_GM_ADD_ENERGY, MAP_GM_IGNORE_GUIDE_STEP, MAP_GM_ADD_GOLDEN
        //endregion GAME服务器用到

    }

    public MessageType getType();
}
